//
//  HomeSectionFour.m
//  JiaoX
//
//  Created by yinqy on 15/1/29.
//  Copyright (c) 2015年 北京娇羞科技有限公司. All rights reserved.
//

#import "HomeSectionFour.h"
#import "HomeBannerList.h"
#import "HomeBanner.h"
#import "LeftLineView.h"

#define TITLE_FONT_SIZE [DimensUtils getScaleX:14]

@implementation HomeSectionFour
- (instancetype)initWithHomeBannerList:(HomeBannerList *)bannerList{
    self = [super init];
    if (self) {
        LeftLineView *title = [[LeftLineView alloc]initWithTitleFontSize:TITLE_FONT_SIZE];
        [title setText:bannerList.title constrainedToSize:[bannerList.title sizeWithFont:[UIFont systemFontOfSize:TITLE_FONT_SIZE]]];
        title.x = JXPublicInset;
        title.y = JXPublicInset;
        [self addSubview:title];
        
        
    }
    return self;
}



@end
